package com.dx.financehy.modules.file.domain.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <pre>
 * @描述：业务&文件关联
 * @作者：CLD
 * @创建时间：2022-04-20 17:52
 * </pre>
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class FileBizDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    // 业务id
    @NotBlank(message = "业务id不能为空,传商家用户id")
    private String bizId;

    // 文件id
    @NotBlank(message = "文件id不能为空")
    private String fileId;

}
